<template>
  <div>
    <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
      <van-swipe-item v-for="(v,i) in listData" :key="i">
        <img :src="v.imgsrc"></van-swipe-item>
    </van-swipe>
  </div>
</template>
<script>
export default {
    props: ["listData"]

};
</script>
<style scoped>
.my-swipe .van-swipe-item {
  color: #fff;
  font-size: 20px;
  line-height: 76px;
  text-align: center;
  background-color: #39a9ed;
}
.my-swipe{
    height: 76px;
}
img{
  width: 100%;
  height: 100%;
}
</style>